Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 8 - Video Digitizer Components / Video Digitizer Components Reference
Video Digitizer Component Functions / Controlling Analog Video


VDGetVideoDefaults

The VDGetVideoDefaults function returns the recommended values for many of the analog video parameters that may be set by applications.

All video digitizer components must support this function.

pascal VideoDigitizerError VDGetVideoDefaults 
                                    (VideoDigitizerComponent ci, 
                                     unsigned short *blackLevel,
                                     unsigned short *whiteLevel,
                                     unsigned short *brightness,
                                     unsigned short *hue, 
                                     unsigned short *saturation,
                                     unsigned short *contrast,
                                     unsigned short *sharpness);
ci
Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's OpenComponent function.
blackLevel
Contains a pointer to an integer that is to receive the default black level value. The video digitizer component places the default black level value into the field referred to by this parameter. Refer to the discussion of the VDSetBlackLevelValue function in the next section for more information about black level values.
whiteLevel
Contains a pointer to an integer that is to receive the default white level value. The video digitizer component places the default white level value into the field referred to by this parameter. Refer to the discussion of the VDSetWhiteLevelValue function on page 8-69 for more information about white level values.
brightness
Contains a pointer to an integer that is to receive the default brightness value. The video digitizer component places the default brightness value into the field referred to by this parameter. Refer to the discussion of the VDSetBrightness function on page 8-73 for more information about brightness values.
hue
Contains a pointer to an integer that is to receive the default hue value. The video digitizer component places the default hue value into the field referred to by this parameter. Refer to the discussion of the VDSetHue function on page 8-70 for more information about hue values.
saturation
Contains a pointer to an integer that is to receive the default saturation value. The video digitizer component places the default saturation value into the field referred to by this parameter. Refer to the discussion of the VDSetSaturation function on page 8-72 for more information about saturation values.
contrast
Contains a pointer to an integer that is to receive the default contrast value. The video digitizer component places the default contrast value into the field referred to by this parameter. Refer to the discussion of the VDSetContrast function on page 8-75 for more information about contrast values.
sharpness
Contains a pointer to an integer that is to receive the default sharpness value. The video digitizer component places the default sharpness value into the field referred to by this parameter. Refer to the discussion of the VDSetSharpness function on page 8-76 for more information about sharpness values.
RESULT CODE
noErr0No error

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help